
// 状态属性
export const state = () => ({
    keyWord: {},
    language:'EN'
})
export const mutations = {
    // 修改搜索关键词
    updataMenuState(state,val) {
        state.keyWord = val
    },
     // 删除搜索关键词
    deleteKey(state){
        state.keyWord = {}
    },
    changeLanguage(state,val){
        state.language = val
    }
}
/** 修改属性 */
// export const mutations = {
// }

export default {
    namespaced:true,//命名空间
    state,
    mutations,
}
